TimeMinusMon


This function subtracts one month from given parameters with respect to the date and then assigns the date value to each variable. The intercalation is also calculated.

 

void TimeMinusMon(int year, int mon);

 

Parameters

year               : Year (tag or variable)

mon              : Month (tag or variable)

 

Return Value

There is not a return value.

 

Example1 : If it used variables in a script)

year = 2000;

mon  = 1;

@TimeMinusMon(year, mon);

Description : It is the January, 2000. In other words, year = 1999, mon = 12

 

Example2 : If it used memory tags in a script)

$year = 2000;

$mon  = 1;

@TimeMinusMon($year, $mon);

Description : Tags can be used immediately as parameters. $year = 1999, $mon = 12

 

Related Helps)

@TimeFromString()

@TimeGetWaiting()

@TimeMinusDay()

@TimeMinusHour()

@TimeMinusMin()

@TimeMinusMon()

@TimeMinusSec()

@TimePlusDay()

@TimePlusHour()

@TimePlusMin()

@TimePlusMon()

@TimePlusSec()

@TimeSetLocalTime()

@TimeSolarToLunar()